var myChartLineNow = echarts.init(document.getElementById('main-line-now'));    
optionLineNow = {
    tooltip : {
        trigger: 'axis'
    },
    legend: {
        data:['存量积分','数字积分','通用积分']
    },      
    calculable : true,
    xAxis : [
        {
            type : 'category',
            boundaryGap : false,
            data : ['12:00','13:00','14:00','15:00','16:00','17:00','18:00']
        }
    ],
    yAxis : [
        {
            type : 'value'
        }
    ],
    series : [
        {
            name:'存量积分',
            type:'line',
            smooth:false,
            itemStyle: {normal: {label : {show: true},color:'#d19195',areaStyle: {type: 'default'}}},
            data:[10, 12, 21, 54, 260, 830, 710]
        },
        {
            name:'数字积分',
            type:'line',
            smooth:false,
            itemStyle: {normal: {label : {show: true},color:'#dc9c7f',areaStyle: {type: 'default'}}},
            data:[30, 182, 434, 791, 390, 30, 10]
        },
        {
            name:'通用积分',
            type:'line',
            smooth:false,
            itemStyle: {normal: {label : {show: true},color:'#87a1c0',areaStyle: {type: 'default'}}},
            data:[1320, 1132, 601, 234, 120, 90, 20]
        }
        // {
        //     name:'成交',
        //     type:'line',
        //     symbol:'circle',
        //     smooth:false,
        //     // itemStyle : { normal: {label : {show: true}}}
        //     itemStyle: {normal: {label : {show: true},color:'#009fcd', areaStyle: {type: 'default',color:'#edf7f9'}}},
        //     data:[500, 800, 600, 900, 400, 800, 900]
        // },
        // {
        //     name:'成交',
        //     type:'line',
        //     symbol:'circle',
        //     smooth:false,
        //     // itemStyle : { normal: {label : {show: true}}}
        //     itemStyle: {normal: {label : {show: true},color:'#009fcd', areaStyle: {type: 'default',color:'#edf7f9'}}},
        //     data:[250, 500, 800, 400, 256, 785, 625]
        // },
        // {
        //     name:'成交',
        //     type:'line',
        //     symbol:'circle',
        //     smooth:false,
        //     // itemStyle : { normal: {label : {show: true}}}
        //     itemStyle: {normal: {label : {show: true},color:'#009fcd', areaStyle: {type: 'default',color:'#edf7f9'}}},
        //     data:[123, 533, 600, 562, 300, 46, 500]
        // },
    ]
};
 
myChartLineNow.setOption(optionLineNow, true); //显示国家地图